<div class="thuchanhs view">
<h2><?php  __('Thuchanh');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $thuchanh['Thuchanh']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Tuan'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $html->link($thuchanh['Tuan']['id'], array('controller' => 'tuans', 'action' => 'view', $thuchanh['Tuan']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Nhomth'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $html->link($thuchanh['Nhomth']['id'], array('controller' => 'nhomths', 'action' => 'view', $thuchanh['Nhomth']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Phong'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $html->link($thuchanh['Phong']['id'], array('controller' => 'phongs', 'action' => 'view', $thuchanh['Phong']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Buoi'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $thuchanh['Thuchanh']['buoi']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ngayth'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $thuchanh['Thuchanh']['ngayth']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link(__('Sửa thông tin thực hành', true), array('action' => 'edit', $thuchanh['Thuchanh']['id'])); ?> </li>
		<li><?php echo $html->link(__('Xóa', true), array('action' => 'delete', $thuchanh['Thuchanh']['id']), null, sprintf(__('Bạn có chắc muốn xóa không?', true), $thuchanh['Thuchanh']['id'])); ?> </li>
		<li><?php echo $html->link(__('Thông tin thực hành', true), array('action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('Thêm thông tin thực hành', true), array('action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('Danh sách tuần', true), array('controller' => 'tuans', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('Thêm tuần', true), array('controller' => 'tuans', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('Danh sách nhóm thực hành', true), array('controller' => 'nhomths', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('Thêm nhóm thực hành', true), array('controller' => 'nhomths', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('Danh sách phòng', true), array('controller' => 'phongs', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('Thêm phòng', true), array('controller' => 'phongs', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('Danh sách điểm danh', true), array('controller' => 'diemdanhs', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('Thêm thông tin điểm danh', true), array('controller' => 'diemdanhs', 'action' => 'add')); ?> </li>
	</ul>
</div>
	<div class="related">
		<h3><?php  __('Related Diemdanhs');?></h3>
	<?php if (!empty($thuchanh['Diemdanh'])):?>
		<dl>	<?php $i = 0; $class = ' class="altrow"';?>
			<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $thuchanh['Diemdanh']['id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Sinhvien Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $thuchanh['Diemdanh']['sinhvien_id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Thuchanh Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $thuchanh['Diemdanh']['thuchanh_id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Giaovien Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $thuchanh['Diemdanh']['giaovien_id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ngaydd');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $thuchanh['Diemdanh']['ngaydd'];?>
&nbsp;</dd>
		</dl>
	<?php endif; ?>
		<div class="actions">
			<ul>
				<li><?php echo $html->link(__('Sửa thông tin điểm danh', true), array('controller' => 'diemdanhs', 'action' => 'edit', $thuchanh['Diemdanh']['id'])); ?></li>
			</ul>
		</div>
	</div>
	<div class="related">
	<h3><?php __('Related Diemdanhs');?></h3>
	<?php if (!empty($thuchanh['Diemdanh'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Sinhvien Id'); ?></th>
		<th><?php __('Thuchanh Id'); ?></th>
		<th><?php __('Giaovien Id'); ?></th>
		<th><?php __('Ngaydd'); ?></th>
		<th class="actions"><?php __('Thao tác');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($thuchanh['Diemdanh'] as $diemdanh):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $diemdanh['id'];?></td>
			<td><?php echo $diemdanh['sinhvien_id'];?></td>
			<td><?php echo $diemdanh['thuchanh_id'];?></td>
			<td><?php echo $diemdanh['giaovien_id'];?></td>
			<td><?php echo $diemdanh['ngaydd'];?></td>
			<td class="actions">
				<?php echo $html->link(__('Hiển thị', true), array('controller' => 'diemdanhs', 'action' => 'view', $diemdanh['id'])); ?>
				<?php echo $html->link(__('Sửa', true), array('controller' => 'diemdanhs', 'action' => 'edit', $diemdanh['id'])); ?>
				<?php echo $html->link(__('Xóa', true), array('controller' => 'diemdanhs', 'action' => 'delete', $diemdanh['id']), null, sprintf(__('Bạn có chắc muốn xóa không?', true), $diemdanh['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $html->link(__('Thêm điểm danh', true), array('controller' => 'diemdanhs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
